//
//  KeRenBleTool.h
//  KEREN
//
//  Created by MW on 2023/3/14.
//

#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN

@interface KeRenBleTool : NSObject

+(instancetype)sharedInstance;

//新版扫描并连接蓝牙
//+ (void)scanAndConnnectedBLEFresh:(NSString *)sn_code success:(SuccessConnectToPeriperalBlock)success fail:(FailConnectToPeriperalBlock)fail;

//静默扫描并连接蓝牙
+ (void)scanAndConnectedBLE:(NSString *)sn_cond callBack:(void (^)(BOOL success))callback;
//直接连接蓝牙
+ (void)bleConnected:(CBPeripheral *)peripheral callBack:(void (^)(BOOL success))callback;

@end

NS_ASSUME_NONNULL_END
